package com.gc.gc.duty.repository;

import com.gc.gc.duty.entity.DutyServiceEnity;
import com.gc.gc.mybatis.entity.PtDutyEntity;
import com.gc.gc.mybatis.flexigrid.PagingBean;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface DutyDao {
    List<PtDutyEntity> queryDutyListByPage(@Param("search") DutyServiceEnity search, @Param("paging") PagingBean paging);
    Integer queryDutyListTotal(@Param("search") DutyServiceEnity search);
    void deleteDutyById(@Param("dutyid")String dutyid);
    void addDuty(@Param("search") DutyServiceEnity search);
}
